Skip to main content

All Questions

0votes
1answer
180views

A python Hang Man Game [closed]

can anyone give me advice on how i can make my code more compact and efficient, and if you can, an implementation using OOP? Since, i just started learning Object Oriented Programming and it looks ...
Anonymous's user avatar
9votes
1answer
952views

Geektrust: Solve War problem in a OO way in Python

I solved this programming challenge whose objective is to come up with an OO solution to the problem. The problem statement is quite verbose and the tl;dr version would be: Given an enemy army(...
thebenman's user avatar
7votes
4answers
1kviews

Papers, Please - Kata from CodeWars - Python

This is possibly one of the longest katas I've finished so far. https://www.codewars.com/kata/59d582cafbdd0b7ef90000a0/train/python I've been working on this one for about an hour a day for about 2 ...
Christian Tanul's user avatar
1vote
1answer
385views

Python program to find the substring with concatenation of all words

This is a Leetcode problem: You are given a string, S, and a list of words, L that are all of the same lengths. Find all starting indices of substring(s) in S that is a concatenation of each word in ...
Justin's user avatar
  • 2,585

close